/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1abstractclassdemo2;

/**
 *
 * @author Administrator
 */
public class Triangle extends Shape{
   private double Secondlength;
   private double Thirdlegth;

    public Triangle() {
    }
    public Triangle(double Secondlength, double Thirdlegth, double basicLength) {
        super(basicLength);
        this.Secondlength = Secondlength;
        this.Thirdlegth = Thirdlegth;
    }

    public double getSecondlength() {
        return Secondlength;
    }

    public void setSecondlength(double Secondlength) {
        this.Secondlength = Secondlength;
    }

    public double getThirdlegth() {
        return Thirdlegth;
    }

    public void setThirdlegth(double Thirdlegth) {
        this.Thirdlegth = Thirdlegth;
    }

    @Override
    public double getArea() {
        return 0;
        //To change body of generated methods, choose Tools | Templates.
    }

   

   
   
}
